﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Foundation;
using System.Windows.Forms;

namespace RPGSoundmixer.TreeNodes {
    internal class EffektGroupTreeWrapper : TreeNode {
        
        /// <summary>
        /// Die zugrunde liegende Effektgruppe
        /// </summary>
        public EffektGroup EffektGroup { get; private set; } 

        /// <summary>
        /// Konstruktor, welcher die zu wrappende Effekt Group entgegen nimmt
        /// </summary>
        /// <param name="group"></param>
        public EffektGroupTreeWrapper(EffektGroup group) {
            this.EffektGroup = group;
            this.Text = group.ToString(); 
        }


    }
}
